const express = require(`express`);
const router = express.Router();

const userCtrl = require("../controller/HXMCtrl");

router.get("/getminebooked", userCtrl.selectUserInfo); //获取我的体检列表请求

router.get('/getaccomplishphysical',userCtrl.getaccomplishphysical);  //获取我的体检详细请求

router.get("/getlookreport", userCtrl.getlookreport); //获取我的体检详细请求

router.get("/getreport", userCtrl.getreport); //获取我的体检详细请求

router.get('/getlookreportpc',userCtrl.getlookreportpc);  //获取我的体检详细请求

router.get('/getlookreportpcuser',userCtrl.getlookreportpcuser);  //获取单人体检详细请求

router.get('/addlookreportpcuser',userCtrl.addlookreportpcuser);  //添加单人体检详细请求

router.get('/editlookreportpcuser',userCtrl.editlookreportpcuser);  //修改单人体检详细请求

router.get('/getadress',userCtrl.getadress);   //获取场馆

router.get('/getdim',userCtrl.getdim);   //模糊查询

router.get('/delreportpc',userCtrl.delreportpc);   //删除体检报告详细信息

router.get('/delbatch',userCtrl.delbatch);   //批量删除体检报告详细信息
//----------------------------------------

router.get('/getmecindex',userCtrl.getmecindex);  //指标详情pc

router.get('/getlookindexpcuser',userCtrl.getlookindexpcuser);  //指标详情pc段

router.get('/delindex',userCtrl.delindex);  //指标删除

router.get('/addindex',userCtrl.addindex);  //添加

router.get('/editindex',userCtrl.editindex);  //修改

router.get('/delbatchindex',userCtrl.delbatchindex);  //指标批量删除

router.get('/getdimindex',userCtrl.getdimindex);  //查询

//-------------------------------HXM指标接口
router.get('/cancalorder',userCtrl.cancalorder); 
//------------------------------HXM取消接口

router.post('/addorg',userCtrl.addorg);  //添加机构

router.post('/editorg',userCtrl.editorg);  //修改机构

module.exports = router;
